/*
 * Powered By [zhangsd]
 * Email:springzjut@163.com
 * Since 2012 - 2012
 */

package com.feifan.senate.dal.dorm;
import java.util.List;

import com.feifan.senate.common.DAOException;
import com.feifan.senate.dal.dataobject.dorm.DormInfo;

public interface DormInfoDAO {
	
	/**
	 * 新增
	 * @param entity
	 * @throws DAOException
	 */
	public void insert(DormInfo entity) throws DAOException;
	
	/**
	 * 修改
	 * @param entity
	 * @throws DAOException
	 */
	public void update(DormInfo entity) throws DAOException;
	
	/**
	 * 删除
	 * @param entity
	 * @throws DAOException
	 */
	public void delete(DormInfo entity) throws DAOException;
	
	/**
	 * 获取记录数
	 * @param entity
	 * @throws DAOException
	 */
	public Integer count(DormInfo entity) throws DAOException;
	
	/**
	 * 查询记录
	 * @param entity
	 * @throws DAOException
	 */
	public List<DormInfo> queryList(DormInfo entity) throws DAOException;
	
	
}